package com.zbs.framework.security.service;

import com.zbs.framework.security.entity.SecurityUser;
import org.springframework.stereotype.Repository;

import java.util.Map;

/**
 * @description: SuccessfulAuthenticationService
 * @author: Zbs
 * @createTime: 2021/3/31 14:24
 */
@Repository
public interface SuccessfulAuthenticationService {
    /**
     * 登录成功之后的操作
     * --例如保存token
     * @param otherInfo
     * @param user
     * @param entryType
     * @param token
     */
    void successfulAuthentication(Map<String, Object> loginUserInfo, Map<String, Object> otherInfo, SecurityUser user, String entryType, String token);
}